// MFCWPFTESTView.h : interface of the CMFCWPFTESTView class
//


#pragma once
#include "../mfcwpfcode/MFCWPFInterface.h"

class CMFCWPFTESTView : public CView
{
protected: // create from serialization only
	CMFCWPFTESTView();
	DECLARE_DYNCREATE(CMFCWPFTESTView)

// Attributes
public:
	CMFCWPFTESTDoc* GetDocument() const;

// Operations
public:

// Overrides
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);

// Implementation
public:
	virtual ~CMFCWPFTESTView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	CMFCWPFInterface * m_pMFCWPFInterface;

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
public:
	virtual void OnInitialUpdate();
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnRButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
};

#ifndef _DEBUG  // debug version in MFCWPFTESTView.cpp
inline CMFCWPFTESTDoc* CMFCWPFTESTView::GetDocument() const
   { return reinterpret_cast<CMFCWPFTESTDoc*>(m_pDocument); }
#endif

